package com.jy.adscm.bean.system;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @author yyy
 * @ClassName JyMenuPermission
 * @Description 针对一个菜单，有哪些权限，比如：增删改查...
 * @date 2018/10/22 15:58
 */
@TableName(value = "Jy_menu_permission")
public class JyMenuPermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Integer menu_id;
    private String per_code;
    private String per_name;
    private String per_desc;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getMenu_id() {
        return menu_id;
    }

    public void setMenu_id(Integer menu_id) {
        this.menu_id = menu_id;
    }

    public String getPer_code() {
        return per_code;
    }

    public void setPer_code(String per_code) {
        this.per_code = per_code;
    }

    public String getPer_name() {
        return per_name;
    }

    public void setPer_name(String per_name) {
        this.per_name = per_name;
    }

    public String getPer_desc() {
        return per_desc;
    }

    public void setPer_desc(String per_desc) {
        this.per_desc = per_desc;
    }

    @Override
    public String toString() {
        return "JyMenuPermission{" +
                "id=" + id +
                ", menu_id=" + menu_id +
                ", per_code=" + per_code +
                ", per_name=" + per_name +
                ", per_desc=" + per_desc +
                "}";
    }
}